package com.shu.shiro.common;

public enum  CodeMsg {
    /*系统异常*/
    S00001("00001","系统异常"),
    S00000("00000","成功"),

    S10001("10001","登录失败"),
    S10002("10002","账号不存在"),
    S10003("10003","密码不正确"),
    S10004("10004","账号不存在"),
    S10005("10005","账号不存在");
    private String code;
    private String msg;

    CodeMsg(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
